package cn.topevery.garden.entity.dto;

import cn.topevery.garden.entity.po.ProcessLogFile;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 过程日志信息表 DTO
 *
 * @author code-generate
 * @date 2022-02-15
 */
@Data
@ApiModel(value = "ProcessLogDTO", description = "过程日志信息表 DTO")
public class ProcessLogDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** 项目id */
    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    /** 时间 */
    @ApiModelProperty(value = "时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    /** 描述 */
    @ApiModelProperty(value = "描述")
    private String desc;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 附件 */
    @ApiModelProperty(value = "附件")
    private String fileUrl;

    /** 附件 */
    @ApiModelProperty(value = "记录人")
    private String noteTaker;

    @ApiModelProperty(value = "附件")
    private List<ProcessLogFile> fileList;

}
